// created Jan 8, 2009 8:17:18 PM
// by petrovic

package org.taglets.pub.account;

import java.io.IOException;
import java.net.URISyntaxException;
import java.util.logging.Logger;

import org.taglets.exception.TagletsException;
import org.taglets.pub.ApiUrl;
import org.taglets.pub.Client;
import org.taglets.pub.Route;

public class VerifyTwitterClient extends Client {
    @SuppressWarnings("unused")
    private final Logger LOG = Logger.getLogger(VerifyTwitterClient.class.getName());

    public VerifyTwitterClient() {
        apiUrl = new ApiUrl(Route.TWITTER_VERIFY);

    }

    public VerifyTwitterResponse verify(String email, String password) throws IOException, URISyntaxException, TagletsException, NoSuchMethodException {
        form.put("email", email);
        form.put("password", password);
        VerifyTwitterResponse response = (VerifyTwitterResponse) this.post();
        return response;
    }
}
